var config = require('./config')
// var render = require('./render')
var hook = require('./hook')
var kit = require('./kit')
var vdom = require('./vdom')
var render = require('./render')
var engine = require('./engine')
var f = require('./function')

function callback(fn){
  return new Promise(fn)
}

module.exports = {
  config:config,
  hook:hook,
  kit:kit,
  vdom:vdom,
  render:render,
  app:engine.app,
  createMsgType:engine.createMsgType,
  ModelMsg:engine.ModelMsg,
  modelMsgMap:engine.modelMsgMap,
  engine:engine,
  callback:callback,
  getMsgVal:engine.getMsgVal,
  f:f
}



